package Homework3VideoStore;

public class Run {
	
	public static void main(String[] args) 
	{
		VideoStore videoStore = new VideoStore();
		
		// Populate the store with videos
		videoStore.addVideo(new NewRelease("New Release 1"));
		videoStore.addVideo(new NewRelease("New Release 2"));
		videoStore.addVideo(new NewRelease("New Release 3"));
		videoStore.addVideo(new NewRelease("New Release 4"));
		videoStore.addVideo(new Drama("Drama 1"));
		videoStore.addVideo(new Drama("Drama 2"));
		videoStore.addVideo(new Drama("Drama 3"));
		videoStore.addVideo(new Drama("Drama 4"));
		videoStore.addVideo(new Comedy("Comedy 1"));
		videoStore.addVideo(new Comedy("Comedy 2"));
		videoStore.addVideo(new Comedy("Comedy 3"));
		videoStore.addVideo(new Comedy("Comedy 4"));
		videoStore.addVideo(new Romance("Romance 1"));
		videoStore.addVideo(new Romance("Romance 2"));
		videoStore.addVideo(new Romance("Romance 3"));
		videoStore.addVideo(new Romance("Romance 4"));
		videoStore.addVideo(new Horror("Horror 1"));
		videoStore.addVideo(new Horror("Horror 2"));
		videoStore.addVideo(new Horror("Horror 3"));
		videoStore.addVideo(new Horror("Horror 4"));
		
		// Introduce customers to the system
		videoStore.addCustomer(new BreezyCustomer("Breezy 1"));
		videoStore.addCustomer(new BreezyCustomer("Breezy 2"));
		videoStore.addCustomer(new BreezyCustomer("Breezy 3"));
		videoStore.addCustomer(new BreezyCustomer("Breezy 4"));
		videoStore.addCustomer(new BreezyCustomer("Regular 1"));
		videoStore.addCustomer(new BreezyCustomer("Regular 2"));
		videoStore.addCustomer(new BreezyCustomer("Regular 3"));
		videoStore.addCustomer(new BreezyCustomer("Hoarder 1"));
		videoStore.addCustomer(new BreezyCustomer("Hoarder 2"));
		videoStore.addCustomer(new BreezyCustomer("Hoarder 3"));
		
		for (int i = 1; i <= 35; i++)
		{
			videoStore.nightlyReturns();
			videoStore.dailyRentals();
			videoStore.nextDay();
		}
		
		videoStore.printSummary();
	}
}
